<?php
namespace Admin\Controller;
use Think\Controller;
class CommonController extends Controller{
	public function __construct(){
		parent::__construct();
		if(!isset($_SESSION['user'])){
			$this->error("你还没有登录!",U('Admin/Login/index'));
			die;
		}
	}
}


 ?>